package com.mydesign.demo.service;

import com.mydesign.demo.bean.StoreCommentWithBLOBs;
import com.mydesign.demo.model.ReturnResult;

import javax.servlet.http.HttpServletRequest;

public interface StoreToAssignmentService {
    //查询我的接单
    ReturnResult selectMyReceiving(HttpServletRequest request);
    //查询我的派单
    ReturnResult selectMyOrder(HttpServletRequest request);
    //查询被小店取消的订单
    ReturnResult selectCancelOrder(HttpServletRequest request);
    //查询订单详情
    ReturnResult selectOrderDetails(HttpServletRequest request);
    //商家接单按钮
    ReturnResult accessOrderBtn(HttpServletRequest request);
    //商家点击确认到达按钮
    ReturnResult accessArriveBtn(HttpServletRequest request);
    //用户确认商家到达按钮
    ReturnResult accessArriveBtnUser(HttpServletRequest request);
    //用户确认商家完成
    ReturnResult accessSuccessBtnUser(HttpServletRequest request);
    //拒绝接单
    ReturnResult cancelOrderBtn(HttpServletRequest request);
    //商家接受取消的订单
    ReturnResult cancelButWantOrderBtn(HttpServletRequest request);
    //派单进行评价
    public ReturnResult CommentMyOrderToStore(StoreCommentWithBLOBs storeComment);
    //查询评价
    ReturnResult selectComment(HttpServletRequest request);
}
